<?php

class modelo_tabela_vertical {
    
    protected $texto;
    
    public function __construct() {
        echo '<table border="0" cellpadding="4" width="100%">';
    }
    
    public function addRow($description, $value) {
        echo '<tr>
    <td nowrap="nowrap" bgcolor="#666666" valign="top"><span class="style3">'.$description.'</span></td>
    <td valign="top" bgcolor="#EBEBEB" width="100%">'.$value.'</td>
  </tr>';
    }
    
    public function close() {
        echo "</table>";
    }
}

?>
